<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>AccountHead Delete</title>
        <link href="styles.css" rel="stylesheet" type="text/css" />
        <style type="text/css">
            <!--
            @import url("erpstyles.css");
            @import url("../csss/erpstyles.css");
            .style1 {color: #FFFFFF}
            -->
        </style>
        <script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
    </head>

    <body bgcolor="#FFFFCC">
        <table width="980" border="0" cellspacing="0" cellpadding="0" align="center">

            <tr>
                <td width="878" rowspan="12" bgcolor="#FFFFCC"><p>&nbsp;</p>

                    <%@ page import="java.io.*"%>
                    <%@ page import="java.util.*"%>
                    <%@ page import="java.sql.*"%>
                    <%@ page import="achead.*"%>
                    <%
                              String err=null;
                                   ArrayList al=(ArrayList)request.getAttribute("AL");

                                 System.out.println("al at AccountHeadview list :%" + al);
                                 if(al!=null)
                                  {
                          Iterator it=al.iterator();
                    %>

                    <% while(it.hasNext())
                                       {
                                               AccountHeadBean ahb=(AccountHeadBean)it.next();

                               String acheadno				=		ahb.getAhead_No();
                               String acheadname			=		ahb.getAhead_Name();
                               String obalance				=		ahb.getOpening_Balance();
                               String schedule				=		ahb.getSchedule();
                               String amttype				=		ahb.getAmt_Type();
                               String desc					=		ahb.getDescription();





                    %>

                    <form  action="./AcheadDeleteServ" method="post" name="acheaddelete" >


                        <table width="748" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                                <td height="38" colspan="3" bgcolor="#FFFFCC" class="addform" background="images/erpimg.jpg"><div align="center" class="login">Delete Account Head </div></td>
                            </tr>
                            <tr>
                                <td width="37">&nbsp;</td>
                                <td width="191" class="tabledata"> <div align="center">AcHeadNumber </div></td>
                                <td width="520"><input name="acheadno" type="text" value="<%=acheadno%>" size="40" maxlength="20" readonly="true" /></td>
                            </tr>
                            <tr>
                                <td bgcolor="#7DDF90">&nbsp;</td>
                                <td bgcolor="#7DDF90" class="tabledata"><div align="center">Achead Name  </div></td>
                                <td bgcolor="#7DDF90"><input name="acheadname" type="text" id="sname" onkeypress="name_validate(this.form)" value="<%=acheadname%>" size="40" maxlength="50" readonly="true"/></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td class="tabledata"><div align="center">Schedule</div></td>
                                <td><input name="schedule" type="text" id="schedule" onkeypress="name_validate(this.form)" value="<%=schedule%>" size="40" maxlength="50" readonly="true" /></td>
                            </tr>
                            <tr>
                                <td bgcolor="#7DDF90" >&nbsp;</td>
                                <td bgcolor="#7DDF90" class="tabledata"><div align="center">Opening Balance </div></td>
                                <td bgcolor="#7DDF90"><input name="obalance" type="text" id="obalance" value="<%=obalance%>" size="40" readonly="true"/></td>
                            </tr>
                            <tr bgcolor="#FFFFCC">
                                <td >&nbsp;</td>
                                <td class="tabledata"><div align="center">Description</div></td>
                                <td><input name="desc" type="text" id="desc" onkeypress="num_validate(this.form)" value="<%=desc%>" size="40" maxlength="10" readonly="true"/></td>
                            </tr>
                            <tr>
                                <td bgcolor="#7DDF90">&nbsp;</td>
                                <td bgcolor="#7DDF90" class="addform">&nbsp;</td>
                                <td bgcolor="#7DDF90">&nbsp;</td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td class="addform">&nbsp;</td>
                                <td><input type="submit" name="Submit" value="Delete" /></td>
                            </tr>
                        </table>
                        <%}%>
                        <%}%>
                    </form>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p></td>
            </tr>
        </table>
    </body>
</html>
